﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace SearchEngine
{
    public interface ISearchEngineDocuments
    {
        //get count
        int Count
        {
            get;
        }

        DateTime StartTime
        {
            get;
        }

        DateTime EndTime
        {
            get;
        }

        TimeSpan SearchTime
        {
            get;
        }

        string PreparedSearchStatement
        {
            get;
        }
        
        //get field at specified row
        string this[int RowNumber, string FieldName]
        {
            get;
        }

        DataTable ExtractDataTable(int start, int end, params string[] fields);

    }
}
